package GUI;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import java.awt.Toolkit;
import javax.swing.JTabbedPane;
import javax.swing.JLabel;
import javax.swing.JComboBox;
import javax.swing.JTextField;
import javax.swing.JButton;
import java.awt.Color;
import javax.swing.JTree;
import javax.swing.JTable;
import javax.swing.JList;
import javax.swing.JPasswordField;

public class GUI_JFRAME extends JFrame {

	private JPanel contentPane;
	private JTabbedPane tabbedPane;
	private JPanel panel;
	private JPanel panel_1;
	private JPanel panel_2;
	private JPanel panel_3;
	private JPanel panel_4;
	private JLabel lblBildungsgang;
	private JLabel lblAnzahlSchler;
	private JComboBox comboBox;
	private JTextField textField;
	private JLabel lblRaumnummer;
	private JTextField textField_1;
	private JButton btnSuchen;
	private JTable table;
	private JLabel lblLoginname;
	private JTextField textField_2;
	private JPasswordField passwordField;
	private JLabel lblPasswort;
	private JButton btnLogIn;
	private JTable table_1;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					GUI_JFRAME frame = new GUI_JFRAME();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public GUI_JFRAME() {
		setIconImage(Toolkit.getDefaultToolkit().getImage("H:\\Schuldokumente\\szut.gif"));
		setTitle("Hardware Verwaltungssystem");
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 511, 511);
		this.contentPane = new JPanel();
		this.contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(this.contentPane);
		this.contentPane.setLayout(null);
		{
			this.tabbedPane = new JTabbedPane(JTabbedPane.TOP);
			this.tabbedPane.setBounds(0, 0, 495, 473);
			this.contentPane.add(this.tabbedPane);
			{
				this.panel = new JPanel();
				this.panel.setForeground(Color.BLACK);
				this.tabbedPane.addTab("Raumsuche", null, this.panel, null);
				this.panel.setLayout(null);
				{
					this.lblBildungsgang = new JLabel("Bildungsgang:");
					this.lblBildungsgang.setBounds(10, 11, 67, 14);
					this.panel.add(this.lblBildungsgang);
				}
				{
					this.lblAnzahlSchler = new JLabel("Anzahl Sch\u00FCler:");
					this.lblAnzahlSchler.setBounds(10, 36, 98, 14);
					this.panel.add(this.lblAnzahlSchler);
				}
				{
					this.comboBox = new JComboBox();
					this.comboBox.setBounds(98, 8, 86, 20);
					this.panel.add(this.comboBox);
				}
				{
					this.textField = new JTextField();
					this.textField.setBounds(98, 33, 86, 20);
					this.panel.add(this.textField);
					this.textField.setColumns(10);
				}
				{
					this.table_1 = new JTable();
					this.table_1.setBounds(10, 68, 470, 271);
					this.panel.add(this.table_1);
				}
			}
			{
				this.panel_1 = new JPanel();
				this.tabbedPane.addTab("Ausstattung der R\u00E4ume", null, this.panel_1, null);
				this.panel_1.setLayout(null);
				{
					this.lblRaumnummer = new JLabel("Raumnummer:");
					this.lblRaumnummer.setBounds(10, 11, 69, 14);
					this.panel_1.add(this.lblRaumnummer);
				}
				{
					this.textField_1 = new JTextField();
					this.textField_1.setBounds(89, 8, 86, 20);
					this.panel_1.add(this.textField_1);
					this.textField_1.setColumns(10);
				}
				{
					this.btnSuchen = new JButton("Suchen");
					this.btnSuchen.setBounds(185, 7, 89, 23);
					this.panel_1.add(this.btnSuchen);
				}
				{
					this.table = new JTable();
					this.table.setBounds(20, 137, 250, -100);
					this.panel_1.add(this.table);
				}
			}
			{
				this.panel_3 = new JPanel();
				this.tabbedPane.addTab("Adminbereich ", null, this.panel_3, null);
				this.panel_3.setLayout(null);
				{
					this.lblLoginname = new JLabel("Benutzername:");
					this.lblLoginname.setBounds(10, 11, 87, 14);
					this.panel_3.add(this.lblLoginname);
				}
				{
					this.textField_2 = new JTextField();
					this.textField_2.setBounds(98, 8, 86, 20);
					this.panel_3.add(this.textField_2);
					this.textField_2.setColumns(10);
				}
				{
					this.passwordField = new JPasswordField();
					this.passwordField.setBounds(98, 42, 86, 20);
					this.panel_3.add(this.passwordField);
				}
				{
					this.lblPasswort = new JLabel("Passwort:");
					this.lblPasswort.setBounds(10, 45, 67, 14);
					this.panel_3.add(this.lblPasswort);
				}
				{
					this.btnLogIn = new JButton("Log in");
					this.btnLogIn.setBounds(194, 41, 89, 23);
					this.panel_3.add(this.btnLogIn);
				}
			}
			{
				this.panel_2 = new JPanel();
				this.tabbedPane.addTab("New tab", null, this.panel_2, null);
			}
			{
				this.panel_4 = new JPanel();
				this.tabbedPane.addTab("New tab", null, this.panel_4, null);
				this.panel_4.setLayout(null);
			}
		}
	}
}
